<%--
  Created by IntelliJ IDEA.
  User: 鑫
  Date: 2022/3/13
  Time: 20:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>


<html>

<head>
    <title>EL取域数据</title>
</head>
<body>
<dependency>
    <groupId>javax.servlet.jsp</groupId>
    <artifactId>jsp-api</artifactId>
    <version>2.2</version>
</dependency>
<h2>EL表达式取四个域的数据</h2>
     <%
         request.setAttribute("key1","key1Value");
         session.setAttribute("key1","key1Value");
         application.setAttribute("key1","key1Value");
     %>
     ${ key1}



</body>
</html>
